package cn.guet.tourism.entity;

import org.apache.ibatis.type.Alias;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import cn.guet.tourism.base.AbstractModel;

/**
 * 表示商品
 */
@Alias(value = "Goods")
@TableName(value = "tb_goods")
public class Goods extends AbstractModel<Goods> implements Cloneable {

	private static final long serialVersionUID = -593477885707186656L;

	@TableField(value = "name")
	private String name;

	@TableField(value = "url")
	private String url;

	@TableField(value = "sales_price")
	private Float salesPrice;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Float getSalesPrice() {
		return salesPrice;
	}

	public void setSalesPrice(Float salesPrice) {
		this.salesPrice = salesPrice;
	}

	@Override
	public Goods clone() throws CloneNotSupportedException {
		return (Goods) super.clone();
	}
}
